package com.wooophone.mpyeah.mapper;


import com.wooophone.mpyeah.entity.BrandComment;

/**
 * 品牌评论Mapper
 * 
 * @author MingliC
 *
 */
public interface BrandCommentMapper extends AbstractMapper<BrandComment> {
	/**
	 * 有用，加1
	 * @return
	 */
	int usefulPlusOne(String id);
	/**
	 * 没用，加1
	 * @return
	 */
	int uselessPlusOne(String id);
	/**
	 *按品牌id 批量删除
	 * @param map
	 * @return
	 */
	int deleteByBrandId(String brandId);
	
}
